<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: GCProgram Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.03</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1_g_c_program.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">GCProgram Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classarm__compute_1_1_g_c_program.xhtml" title="GCProgram class. ">GCProgram</a> class.  
 <a href="classarm__compute_1_1_g_c_program.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aca45a2e24e9ad0a4ebaf2964589a6934"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#aca45a2e24e9ad0a4ebaf2964589a6934">GCProgram</a> ()</td></tr>
<tr class="memdesc:aca45a2e24e9ad0a4ebaf2964589a6934"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aca45a2e24e9ad0a4ebaf2964589a6934">More...</a><br /></td></tr>
<tr class="separator:aca45a2e24e9ad0a4ebaf2964589a6934"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc13d76cb0c84a46a95570e3c8b3b2c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#adc13d76cb0c84a46a95570e3c8b3b2c0">GCProgram</a> (std::string <a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a37627d5d5bba7f4a8690c71c2ab3cb07">name</a>, std::string source)</td></tr>
<tr class="memdesc:adc13d76cb0c84a46a95570e3c8b3b2c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct program from source file.  <a href="#adc13d76cb0c84a46a95570e3c8b3b2c0">More...</a><br /></td></tr>
<tr class="separator:adc13d76cb0c84a46a95570e3c8b3b2c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8983f4d244bb5ac30a705358fd0d9e8c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a8983f4d244bb5ac30a705358fd0d9e8c">GCProgram</a> (const <a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;)=default</td></tr>
<tr class="memdesc:a8983f4d244bb5ac30a705358fd0d9e8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Copy Constructor.  <a href="#a8983f4d244bb5ac30a705358fd0d9e8c">More...</a><br /></td></tr>
<tr class="separator:a8983f4d244bb5ac30a705358fd0d9e8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce48db8b06643f4e4072f9ea558d0ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#adce48db8b06643f4e4072f9ea558d0ea">GCProgram</a> (<a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:adce48db8b06643f4e4072f9ea558d0ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Move Constructor.  <a href="#adce48db8b06643f4e4072f9ea558d0ea">More...</a><br /></td></tr>
<tr class="separator:adce48db8b06643f4e4072f9ea558d0ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4212dc2dbdd340faeba056d37cb912de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a4212dc2dbdd340faeba056d37cb912de">operator=</a> (const <a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;)=default</td></tr>
<tr class="memdesc:a4212dc2dbdd340faeba056d37cb912de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default copy assignment operator.  <a href="#a4212dc2dbdd340faeba056d37cb912de">More...</a><br /></td></tr>
<tr class="separator:a4212dc2dbdd340faeba056d37cb912de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7792915d53fb314715e22f350a174072"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a7792915d53fb314715e22f350a174072">operator=</a> (<a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a7792915d53fb314715e22f350a174072"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move assignment operator.  <a href="#a7792915d53fb314715e22f350a174072">More...</a><br /></td></tr>
<tr class="separator:a7792915d53fb314715e22f350a174072"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37627d5d5bba7f4a8690c71c2ab3cb07"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a37627d5d5bba7f4a8690c71c2ab3cb07">name</a> () const </td></tr>
<tr class="memdesc:a37627d5d5bba7f4a8690c71c2ab3cb07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns program name.  <a href="#a37627d5d5bba7f4a8690c71c2ab3cb07">More...</a><br /></td></tr>
<tr class="separator:a37627d5d5bba7f4a8690c71c2ab3cb07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b4af3fb9839027279876a231a328ec9"><td class="memItemLeft" align="right" valign="top">GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a5b4af3fb9839027279876a231a328ec9">link_program</a> (GLuint shader)</td></tr>
<tr class="memdesc:a5b4af3fb9839027279876a231a328ec9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Link program.  <a href="#a5b4af3fb9839027279876a231a328ec9">More...</a><br /></td></tr>
<tr class="separator:a5b4af3fb9839027279876a231a328ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acab405c2120743ab9e063930064a6b0a"><td class="memItemLeft" align="right" valign="top">GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml#acab405c2120743ab9e063930064a6b0a">compile_shader</a> (const std::string &amp;build_options)</td></tr>
<tr class="memdesc:acab405c2120743ab9e063930064a6b0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile shader.  <a href="#acab405c2120743ab9e063930064a6b0a">More...</a><br /></td></tr>
<tr class="separator:acab405c2120743ab9e063930064a6b0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classarm__compute_1_1_g_c_program.xhtml" title="GCProgram class. ">GCProgram</a> class. </p>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00039">39</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aca45a2e24e9ad0a4ebaf2964589a6934"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="adc13d76cb0c84a46a95570e3c8b3b2c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>source</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct program from source file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarm__compute_1_1_program.xhtml" title="Program class. ">Program</a> name. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">source</td><td><a class="el" href="classarm__compute_1_1_program.xhtml" title="Program class. ">Program</a> source. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8983f4d244bb5ac30a705358fd0d9e8c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Copy Constructor. </p>

</div>
</div>
<a class="anchor" id="adce48db8b06643f4e4072f9ea558d0ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default Move Constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="acab405c2120743ab9e063930064a6b0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLuint compile_shader </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>build_options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compile shader. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">build_options</td><td>Shader build options.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>GLES shader object. </dd></dl>

<p>Referenced by <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00062">GCProgram::name()</a>.</p>

</div>
</div>
<a class="anchor" id="a5b4af3fb9839027279876a231a328ec9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLuint link_program </td>
          <td>(</td>
          <td class="paramtype">GLuint&#160;</td>
          <td class="paramname"><em>shader</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Link program. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">shader</td><td>Shader used to link program.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>linked program id . </dd></dl>

<p>Referenced by <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00062">GCProgram::name()</a>.</p>

</div>
</div>
<a class="anchor" id="a37627d5d5bba7f4a8690c71c2ab3cb07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns program name. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_program.xhtml" title="Program class. ">Program</a>'s name. </dd></dl>

<p>Definition at line <a class="el" href="_g_c_kernel_library_8h_source.xhtml#l00062">62</a> of file <a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a>.</p>

<p>References <a class="el" href="classarm__compute_1_1_g_c_program.xhtml#acab405c2120743ab9e063930064a6b0a">GCProgram::compile_shader()</a>, and <a class="el" href="classarm__compute_1_1_g_c_program.xhtml#a5b4af3fb9839027279876a231a328ec9">GCProgram::link_program()</a>.</p>
<div class="fragment"><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keywordflow">return</span> _name;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a4212dc2dbdd340faeba056d37cb912de"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a>&amp; operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default copy assignment operator. </p>

</div>
</div>
<a class="anchor" id="a7792915d53fb314715e22f350a174072"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a>&amp; operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a> &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default move assignment operator. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>arm_compute/core/GLES_COMPUTE/<a class="el" href="_g_c_kernel_library_8h_source.xhtml">GCKernelLibrary.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_g_c_program.xhtml">GCProgram</a></li>
    <li class="footer">Generated on Fri Mar 2 2018 12:37:58 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
